﻿using NUnit.Framework;

namespace Martin.Tests
{
  [TestFixture]
  public class TestMartin
  {
    [Test]
    public void Leerer_String_liefert_nur_Martin()
    {
      var mock = new StevenMock();
      var sut = new Martin(mock);

      var result = sut.Concat("");

      Assert.That(result, Is.EqualTo("Martin@"));

    }

    [Test]
    public void Nicht_leerer_String_fuehrt_zur_Hinzufuegung_von_Martin()
    {
      var mock = new StevenMock();
      var sut = new Martin(mock);

      var result = sut.Concat("AB");

      Assert.That(result, Is.EqualTo("ABMartin@"));

    }

  }
}
